From 17a4aa927702ff143fe90d9e7e6233c515f79255 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=90=B4=E5=86=89=E6=B3=A2?= Date: Sun, 17 Jul 2016 22:44:48 +0800 Subject: [PATCH] doc: manifest.md add explain about double-bracket --- src/doc/manifest.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/doc/manifest.md b/src/doc/manifest.md index b498963ca..197dff5b7 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -468,7 +468,11 @@ the test files. All of the `[[bin]]`, `[lib]`, `[[bench]]`, `[[test]]`, and `[[example]]` sections support similar configuration for specifying how a target should be -built. The example below uses `[lib]`, but it also applies to all other sections +built. The double-bracket sections like `[[bin]]` are array-of-table of +[TOML](https://github.com/toml-lang/toml#array-of-tables), which means you can +wirte more than one `[[bin]]` sections to make serval executables in your crate. + +The example below uses `[lib]`, but it also applies to all other sections as well. All values listed are the defaults for that option unless otherwise specified. -- 2.30.2